package com.woniuxy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniuxy.entity.UserShop;
import org.apache.ibatis.annotations.Select;
import org.apache.poi.ss.formula.functions.T;

/**
 * 用户与商户中间表Mapper接口
 */
public interface UserShopMapper extends BaseMapper<UserShop> {
    @Select("select COUNT(*) from gfr_user_shop  where userId=#{userId} and shopId=#{shopId}")
    int selShop(int userId,int shopId);
}
